package com.test.wog.controller;

import com.test.wog.bean.RegularBus;
import com.test.wog.service.RegularBusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LX
 * @createDate 2020-01-27
 * @desc
 */
@RestController
public class RegularBusController {
    @Autowired
    private RegularBusService rbs;

    @RequestMapping("/insertRegularBus")
    @ResponseBody
    public int insertRegularBus(
    ){
        return rbs.insertRegularBus(new RegularBus());
    }

}
